<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class StoreModel extends Model
{
    //门店表
    protected $table='store';

    /**
     * 获取器 获取头像
     */
    public function getHeadImgAttribute($value){
        return getDomain() . '/upload/' . $value;
    }
}
